import request from '@/utils/request'

// 搜索商品
export function getReplyList(params) {
  return request({
    url: '/slmsh/reply/list',
    method: 'get',
    params: params
  })
}

// 上传图片/视频文件到微信公众号
export function uploadMedia(params) {
  return request({
    url: '/slmsh/media/add',
    method: 'post',
    data: params
  })
}

// 添加回复消息
export function addReply(params) {
  return request({
    url: '/slmsh/reply/addReply',
    method: 'post',
    data: params
  })
}
